/**************************************************************************************
*
*	Copyright (C) 2010 Brent Andrew O. Chua - See LICENSE.txt for more info.
*		
*	Filename	-	ScreenOverlay.h
*
*	Description -	A rectangle geometry drawn on the screen. The orientation is defined
*						in screen space.
*
*	Comments	-	
*					
*	Modification History:
*			Name			   Date					Description
*			CodeSushi	-	06/18/11	-	Creation of this file
**************************************************************************************/
#ifndef _PSX_SCREEN_OVERLAY_H_
#define _PSX_SCREEN_OVERLAY_H_

#include "PulseSTD.h"
#include "Vector2.h"
#include "GUIInterfaces.h"

namespace Pulse
{

	class ScreenOverlay
	{
	public:

		ScreenOverlay( FLOAT x, FLOAT y, FLOAT width, FLOAT height );
		
		virtual ~ScreenOverlay( void );

		EErrorCode::Type Initialize( void );

		void Cleanup( void );

	private:

		Vector2 m_pos;
		Size2 m_size;
		VertexBuffer *m_pVB;
		Material *m_pMaterial;

	};

}

#endif /* _PSX_SCREEN_OVERLAY_H_ */